<template>
  <view class="flexblock-wrap">
    <view class="flexblock-box" v-for="(item,index) in flexblock" :key="index">
      <view class="number-box"><span class="number">{{item.number}}</span>{{item.danwei}}</view>
      <view class="name">{{item.text}}</view>
    </view>
  </view>
</template>

<script>
export default {
  props: {
    flexblock: {
      type: Array,
      default: () => []
    },
    img: {
      type: String,
      default: ''
    },
    label: {
      type: String,
      default: ''
    },
    price: {
      type: String,
      default: '0.00'
    }
  },
  data() {
    return {

    };
  },
  methods: {}
};
</script>

<style>
.flexblock-wrap {
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}
.flexblock-box {
  flex: 1;
  margin: 15px 0px;
  border-right: 1px solid #cbd0ef;
  text-align: center;
}
.flexblock-box:last-child {
  border-right: 0;
}
.flexblock-box .number-box {
  color: #364ac7;
  font-size: 14px;
}
.flexblock-box .number-box .number {
  font-weight: 600;
  font-size: 16px;
  margin: 0 2px;
}
.flexblock-box .name {
  color: #646363;
  font-size: 14px;
}
</style>
